package com.ywm.eduService.client;

import com.ywm.commonUtil.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-order")
@Component
public interface OrderClient {
    @GetMapping("/eduOrde/order/isBuyCourse/{courseId}/{memberId}")
    boolean isBuyCourse(@PathVariable("courseId") String courseId,@PathVariable String memberId);

    @GetMapping("/eduOrde/order/test")
    R test();
}
